<textarea name="copy" id="copy" rows="20" cols="40">
email address{% for a in members %}
{{ a.email}}{% endfor %}</textarea>
<input type='button' value='copy' onclick="copyText()" />
<script>
function copyText()
{
clipboardData.setData("text",document.getElementById('copy').value);
alert('ok')
}
</script>